package com.atguigu.dao;

import com.atguigu.pojo.OrderSetting;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface OrderSettingDao {
    void add(OrderSetting orderSetting);

    Long findCountByOrderDate(@Param("orderDate") Date orderDate);

    void edit(OrderSetting orderSetting);

    List<OrderSetting> getOrderSettingByMonth(String date);

    OrderSetting getOrderSettingByOrderDate(Date orderDate);
}
